package com.lagou.handler;

import java.sql.PreparedStatement;
import java.sql.SQLException;

/**
 * 参数处理器
 * @author zhengzc
 * @version 1.0.0
 * @date 2020/2/24 16:04
 */
public interface ParameterHandler {

    /**
     * 设置参数对象
     * @param preparedStatement sql的预处理对象
     * @throws SQLException
     */
    void setParameters(PreparedStatement preparedStatement) throws SQLException, NoSuchFieldException, IllegalAccessException, ClassNotFoundException;
}
